package com.whmskj.xjlhbc.mapper;

import com.whmskj.xjlhbc.domain.Statistics;
import com.whmskj.xjlhbc.domain.StopdataInfo;
import com.whmskj.xjlhbc.domain.ThePlanesStrappedToATable;
import com.whmskj.xjlhbc.vo.JtKbVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface BoardMapper {

    String selectCurrentClassName(@Param("classes") String classes, @Param("today") String today);

    JtKbVo.Top select(@Param("classes") String classes, @Param("today") String today);

    Double selectDate(String date);

    Double selectWeek(@Param("start") String start, @Param("end") String end);

    Double selectMonth(@Param("start") String start, @Param("end") String end);

    Double selectYear(int year);

    List<Statistics> selectJtcl(@Param("start") String start, @Param("end") String end);

    List<Map<String,String>> selectJtcl1(@Param("year") int year, @Param("month") int month);
    List<Statistics> selectCl(@Param("start") String start, @Param("end") String end);

    List<StopdataInfo> selectStop(@Param("start") String start, @Param("end") String end);

    List<Map<String,String>> selectgzlx();

    List<Map<String,String>> selectTj();

    List<ThePlanesStrappedToATable> selectKtkb(@Param("classes") String classes, @Param("today") String today);

    List<Map<String,String>> selectZj();

    Map<String, Object> selectCjch(@Param("month") int month,@Param("year") int year);

    List<Map<String, Object>> selectCldb(@Param("begin") String begin,@Param("end") String end);

    List<Map<String, Object>> selectClqx(@Param("begin") String begin,@Param("end") String end);

    List<Map<String, Object>> selectDhqx(@Param("begin") String begin,@Param("end") String end);

    List<Map<String, Object>> selectNhdb(@Param("begin") String begin,@Param("end") String end);

    Map<String, Object> selectGxdh(@Param("begin") String begin,@Param("end") String end);

    List<Map<String, Object>> selectBznh(@Param("begin") String begin,@Param("end") String end);
}
